package com.diaohw.module.system.obj.query;

import com.diaohw.platform.common.obj.page.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@Schema(description = "用户查询")
@EqualsAndHashCode(callSuper = true)
public class AccountQuery extends PageDto {

    /**
     * 账号
     */
    @Schema(description = "账号")
    private String username;


    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickname;

    /**
     * 状态;状态，0：禁用，1：启用，2：锁定
     */
    @Schema(description = "状态;状态，0：禁用，1：启用，2：锁定")
    private Integer state;

    /**
     * 部门ID
     */
    @Schema(description = "部门ID")
    private List<String> departmentIds;
    /**
     * 角色ID
     */
    @Schema(description = "角色ID集合")
    private List<String> roleIds;

    @Schema(description = "角色类型")
    private String roleType;

}
